package com.yijushequ.domain;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;


@Entity
public class CommunityUserRelation extends AbstractPersistence {

    @ManyToOne
    private BaseUser baseUser;
    @ManyToOne
    private Community community;

    public BaseUser getBaseUser() {
        return baseUser;
    }

    public void setBaseUser(BaseUser baseUser) {
        this.baseUser = baseUser;
    }

    public Community getCommunity() {
        return community;
    }

    public void setCommunity(Community community) {
        this.community = community;
    }
}
